<include file="../header" />
<body class="J_scroll_fixed">
<script>


    </script>
 <form class="well form-search" method="post" style="float:left;width:100%;" action="{:U('vip/myVipRecord')}">
    <input type="hidden" name="id" value="{$id}"/>
    <div class="search_type cc mb10">
        <div class="mb10">
        <span class="mr20">
              店&nbsp;&nbsp;&nbsp;&nbsp;铺：{:getShopSelectHtml($shopId,1)}
            <button class="btn btn-primary">搜索</button>
            <a class="btn" href="{:U('vip/myVipRecord',array('id'=>$id))}">重置</a>
                    
        </span>
        </div>
    </div>
</form>    
<div class="wrap J_check_wrap">
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>编号</th>
            <th>创建时间</th>
            <th>店铺</th>
            <th>操作人</th>
            <th>开始时间</th>
            <th>结束时间</th>
            <th>会员卡类型</th>
            <th>时长</th>
        </tr>
        </thead>
        <tbody>

        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.log_id}</td>
                <td>{$vo.create_time}</td>
                <td>{$vo.shop_name}</td>
                <td>{$vo.name}</td>
                <td>{$vo.begin_time}</td>
                <td>{$vo.end_time}</td>
                <td>
                    {:getEnumString($cardtype, $vo['buy_type'])}                                  
                </td>
                <td>
                    {$vo.term_number}{:getEnumString($cardtype, $vo['buy_type'])}                   
                </td>
            
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>